<?php

namespace App\Repositories;

use App\User\Errors;

class ErrorRepositories
{
    public function save($request)
    {
        $error = new Errors;
        $error->section = $request->section;
        $error->question = $request->question;
        $error->content = $request->content;
        $error->userid = $request->user()->id;
        return $error->save();
    }


}
